package com.day0907;

import java.util.Scanner;

public class Text9 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.print("请输入性别：");
        String sex = in.next();
        System.out.print("请输入成绩：");
        int second = in.nextInt();
        if(second < 10){
            if(sex.equals("女")){
                System.out.println("进入女子组决赛！");
            }
            else {
                System.out.println("进入男子组决赛！");
            }
        }
        else {
            System.out.println("很遗憾，没有进入决赛！");
        }
    }
}
